package com.chzu;

import com.chzu.utils.TbDataUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

import java.util.Date;

/**
 * @author liangzhuo
 * @create 2021-10-21-17:45
 */
@SpringBootApplication
@MapperScan(basePackages = "com.chzu.mapper")
public class DataSourceApplication {

    public static void main(String[] args) {
        SpringApplication.run(DataSourceApplication.class, args);
        TbDataUtils.tbData();
    }
}
